package com.yswee.mallnavi.entity;

import com.yswee.mallnavi.Preference;
import com.yswee.mallnavi.entity.common.AdsEntity;

import java.util.ArrayList;

/**
 * 用户信息
 * @author sharlen
 *
 */
@SuppressWarnings("deprecation")
public class Account extends BaseEntity {
	
	private static final long serialVersionUID = -7255486381224629144L;
	
	private static final byte[] mLock = new byte[0];
	private static Account mInstance = null;
	public final static Account get() {
        synchronized (mLock) {
            if (mInstance == null) {
                mInstance = Preference.getUserEntity();
            }
            return mInstance;
        }
    }
	
	public int adsDelayInSecond = 2 * 60;
	public ArrayList<AdsEntity> screenSavers = null;

	public Account() {

	}
}
